.register-container {
    /* 1vh = 可视区高度的1% */
    /* 100vh = 可视区高度的100% */
    min-height: 100vh;
    width: 100%;
    background-image: url('../images/19.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.register-container>.center {
    display: flex;
    /* 靠右对齐 */
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
}

.register-box {
    width: 600px;
    background-color: #fff;
}

/* 注册头部 */
.register-logo {
    height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
}

.register-logo>img {
    width: 123px;
    height: 42px;
}

.register-form {
    display: flex;
    /* 让子标签纵向排列 */
    flex-direction: column;
    /* 左右居中 */
    /* align-items: center; */
    width: 525px;
    margin: 0 auto;
}

/* 注册表单内容 */
.register-title {
    margin: 20px 0;
    /* 文本左右居中 */
    text-align: center;
}

.form-item {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.form-item>label:first-child {
    display: inline-block;
    width: 85px;
    text-align: right;
    font-size: 16px;
    color: #333;
}

.form-item>input,
.form-item>select {
    width: 254px;
    height: 40px;
    border: 1px solid #dbdbdb;
    /* 圆角 */
    border-radius: 4px;
    margin: 0 10px;
    box-sizing: content-box;
}

.form-item>div {
    width: 254px;
    height: 40px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.form-item>span:last-child {
    color: #c20000;
    font-size: 14px;
    display: inline-block;
    width: 180px;
}

/* 属性选择器:中括号 */
label[for=man] {
    margin-right: 30px;
}

input[name=gender],
input[type=checkbox] {
    margin-right: 6px;
}

/* 通过checkbox找后一个兄弟label */
input[type=checkbox]+label {
    margin-right: 20px;
}

.last-form-item {
    margin-bottom: 40px;
}

.last-form-item>strong {
    font-size: 14px;
    margin: 0 10px;
}

.last-form-item>strong>a {
    color: #c20000;
}